package Song.Han.day02.demo03;

public class Array{
    public static void main(String[] args) {
        int[] array = {5,10,15,20,25,30};

        for (int i = 0; i < 5; i++) {
            System.out.println(array[i]);
        }

        System.out.println("-------------------");

        //快捷创建array.fori
        for (int i = 0; i < array.length; i++) {
            System.out.println(array[i]);
        }

    }
}
